export function getLocalTime(value) {
  // row, index两个参数我看毫无作用？？
  var a = parseInt(value)
  return isNaN(a) ? '非法日期' : formatDate(new Date(a))
}
export function formatDate(val) {
  console.log(val, 'vvvvv')
  const dateStr = val
  const dateArr = dateStr.split(' ')
  const year = dateArr[0].split('-')[0]
  const month = dateArr[0].split('-')[1]
  const day = dateArr[0].split('-')[2]
  const hour = dateArr[1]
  return year + '年' + month + '月' + day + '日' + hour + '时'
}
